Digital Sovereignty for everyone

Abilities

Get Membership Status

lh-membership/get-membership-status Read-only Idempotent

Returns whether a given user is a member of this site, and their member type, based on the lh_membership_member_type taxonomy. Requires edit_users. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
user_id integer Yes The WordPress user ID to check.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

List Members

lh-membership/list-members Read-only Idempotent

Lists users who hold a term in the lh_membership_member_type taxonomy on this site (i.e. are members), optionally filtered by member type slug. Requires edit_users. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
type_slug string No Optional. Restrict to a single member type term slug. Omit to return members of all types.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.